package one.stand.service.impl;

import one.stand.mapper.ArticleMapperExt;
import one.stand.model.ArticleWithBLOBs;
import one.stand.service.ArticleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author hujun
 */
@Service
public class ArticleServiceImpl implements ArticleService {
    @Autowired
    private ArticleMapperExt articleMapperExt;

    @Override
    public ArticleWithBLOBs get(Integer id) {
        return articleMapperExt.selectByPrimaryKey(id);
    }
}
